home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
vdtwn
/
tvf
/
asmhd6
/
tw1hd6
/
mono.hd6
< prev
next >
Wrap
Text File
|
1993-07-08
|
1KB
|
80 lines
ds_name db '\KOMEI\実物\tvf_prg\MONO',0
paint_wd:
SET_P dt1
WD_LEFT
re_paint:
mouse_in:
ret
be_called:
;===== monotone screen ===== ; 処理が手抜きでゴメンナサイ(^_^;)
monotone:
CALL_P dt1 ;call screen_side_clear
push ebp
push ds
push es
mov ax,1ch
mov ds,ax
mov es,ax
align 4
#monotone: mov ebp,01111100000000000111110000000000b
align 4
#monotone_: mov cx,240*100h+5
mov edx,400h-(360*2-24)
mov esi,20
mov edi,40000h+20
align 4
#mn_rep0:
REPT (360-12)*2/4 ;ここが高速化のポイントだ!
lodsd
and eax,ebp
mov ebx,eax
shr eax,cl
xor eax,ebx
shr eax,cl
xor eax,ebx
stosd
ENDM
add esi,edx
add edi,edx
dec ch
jne #mn_rep0
mov ax,0901h
int 90h
xor dh,0FFh
je #monotone_
pop es
pop ds
pop ebp
ret
dt1:
call sub_edi
dw ?
db 'S_S_CLS',0
look_me:
call sub_esi
dd 0,0
dw 1,0,180,42,200,390,15,1,0,0
p_call:
M_P_CALL
p_set:
M_P_SET